package com.zc.app.shiro.dao;

import com.zc.app.shiro.peer.UserPeer;

import java.util.List;


public interface UserDao {

    public UserPeer createUser(UserPeer user);
    public UserPeer updateUser(UserPeer user);
    public void deleteUser(Long userId);

    UserPeer findOne(Long userId);

    List<UserPeer> findAll();

    UserPeer findByUsername(String username);

}
